package com.demo.rpc;

import java.io.IOException;

/**
 * Created by hunter
 *
 * @Description server interface
 */
public interface Server {

    void stop();

    void start() throws IOException;

    void register(Class serviceInterface, Class impl);

    boolean isRunning();

    int getPort();
}
